package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderPayDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单支付明细表
 * @author : yinhaijun
 * @email : 
 * @since : 2020-01-19 05:48:38
 * @version : v1.0.0
 */
@Mapper
public interface  OrderPayDetailMapper {

    long insert(OrderPayDetail orderPayDetail);

    long delete(Long id);

    long update(OrderPayDetail orderPayDetail);

    OrderPayDetail queryByPrimaryKey(Long id);

    List<OrderPayDetail> query(OrderPayDetail orderPayDetail);

    List<OrderPayDetail> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderPayDetail") OrderPayDetail orderPayDetail);

    long queryPageCount(OrderPayDetail orderPayDetail);

}